import request from "@/utils/request";

// 查询订单列表
export function orderList(query) {
  return request({
    url: "/store/order/page",
    method: "get",
    params: query
  });
}

// 订单发货
export function deliver(data) {
  return request({
    url: "/store/order/deliver",
    method: "post",
    data: data,
  });
}

// 查询快递公司列表
export function expressNameVoList(query) {
  return request({
    url: "/store/order/getExpressNameVo",
    method: "get",
    params: query
  });
}